package com.bootdo.clouddo2d.clients;

import com.bootdo.clouddocommon.intercepter.FeignIntercepter;
import com.bootdo.clouddocommon.dto.LoginUserDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;


//@FeignClient(name = "api-admin",configuration = FeignConfig.class)
@FeignClient(name = "api-admin", configuration = FeignIntercepter.class)

public interface GetUser {

    @GetMapping("/user/currentUser")
    LoginUserDTO currentUser();
}
